package com.three.Mapper;

import com.three.Pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {
    void addsave(Teacher teacher);

    List<Teacher> findteacherlist(@Param("name") String teacherName);

    Teacher findByid(Integer id);

    void updatesave(Teacher teacher);

    void delete(Integer id);
}
